home *** CD-ROM | disk | FTP | other *** search
/ Aminet 7 / Aminet 7 - August 1995.iso / Aminet / dev / misc / VSort.lha / VSort.doc < prev    next >
Text File  |  1995-05-10  |  3KB  |  88 lines

  1.                                   VSort V1.0
  2.  
  3.                    Copyright © 1995 by ENSONIC of TRINOMIC
  4.  
  5. This small MUI-programm visualises 8 different sortingprocesses.
  6.  
  7. How to use it ?
  8. ---------------
  9.  
  10. Simly start it by typing it`s name or doubleclicking it`s icon.
  11.  
  12. After this a small window should popup anywhere on your wb-screen. Inside you
  13. see following gadgets :
  14.  
  15. Settings
  16.     Sorttyp    : what algorithm
  17.     Datatyp    : how the testdata should be generated
  18.         sorted            : makes not much sense
  19.         megerd            : the data is sorted and <swapct.> times merged
  20.         reversed        : the data is backwards sorted - interesting
  21.         rev + merged    : the data is backwards sorted and merged like above
  22.     Swapct.    : how many times two randomly choosen elements are swaped
  23.     Size    : size of testdata (don`t choose size larger than your screen)
  24.     Delay    : delay between one sortingstep - a small dalay may enhance the
  25.               graphic output (I don`t use double-buffering).
  26.               A value of 5 may be advisable.
  27. Control
  28.     Go        : starts the process
  29.               and opens another window on your wb. In this one you can see the
  30.               testdata as small points.
  31.  
  32.                 ^ value of element in sortarray
  33.                 | .           :
  34.                 |    .      .
  35.                 |          .
  36.                 |  .         :.
  37.                 |   .    .
  38.                 |.:   :     .
  39.                 +----------------> number of element in testarray
  40.  
  41.              Now its recommendable to drag the window to the bottom screenborder.
  42.              To start the demonstartion press >space/enter/return< and you will
  43.              see that the points start moving around. If the you see a straigth
  44.              line (like the following) from bottom-left to top-rigth corner the
  45.              process is finished.
  46.  
  47.                 ^ value of element in sortarray
  48.                 |           /
  49.                 |         /
  50.                 |       /
  51.                 |     /
  52.                 |   /
  53.                 | /
  54.                 +----------------> number of element in testarray
  55.  
  56.              Press a mousebutton or <space/enter/return> key to continue.
  57.              Try different algorithms and datatypes to see how them work.
  58.  
  59.     Exit    : exits the programm
  60.     About    : important feature ! >8-)
  61.  
  62. The source-code
  63. ---------------
  64.  
  65. You can use anything in the source, if you want. If you have anything to sort
  66. then don`t use bubblesort. It`s very slow on large data. And quick-sort is easy
  67. to implement too.
  68.  
  69. Copyright !
  70. -----------
  71.  
  72. VSort is Copyright © 1995 ENSONIC of TRINOMIC and it's freely distributable as
  73. long as all of its files are included in their original form without additions,
  74. deletions, or modifications of any kind, and only a nominal fee is charged for
  75. its distribution. This software is provided "AS IS" without warranty of any
  76. kind, either expressed or implied. By using VSort, you agree to accept the
  77. entire risk as to the quality and performance of the program.
  78.  
  79. Comments, complaints, desiderata are welcome.
  80.  
  81.         ENSONIC of TRINOMIC
  82.         Stefan Kost
  83.         Holbeinstrasse 1
  84.         Phone : (Germany 0341) 4801589
  85.         E-Mail: KOST@imn.th-leipzig.de
  86.         04229 Leipzig
  87.         Germany
  88.